<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>苏宁</title>
		<script type="text/javascript">
			var controller = '__CONTROLLER__';
			var root = '__ROOT__';
		</script>
		<link rel="stylesheet" href="__TEMPLATE__/css/publicMenu.css" />
		<link rel="stylesheet" href="__TEMPLATE__/css/list.css" />
		<script type="text/javascript" src="__TEMPLATE__/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="__TEMPLATE__/js/public.js"></script>
<script type="text/javascript" src="__TEMPLATE__/js/list.js"></script>
	</head>

	<body>
		<!-- 头部ad开始 -->
		<div id="topad">
			<a href="">
				<img src="__TEMPLATE__/images/topad.jpg" class="topad" alt="" />
			</a>
			<a id="topad_close" href="javascript:void(0)"></a>
		</div>
		<!-- 头部ad结束 -->
		<!-- 头部开始 -->
		<include file="__TEMPLATE__/bHeader"/>
	<!-- 头部结束 -->
<!--新导航菜单开始-->
<div id="newwarp">  <!--100%宽度-->
			<div class="sider"> <!--居中1190-->
				<!--导航菜单开始-->
				<include file="__TEMPLATE__/bNav"/>
			<!--导航菜单结束-->
<!-- 内容也主体开始	-->			
	<!--列表内容页面-->
		<!--面包屑导航-->
		<div class="breadNav">
			<a href="__ROOT__">首页</a><span>></span><a href="">列表页</a>
		</div>
		<!--面包屑导航结尾-->
	<div id="listcontent">
			<!--主题左侧-->
			<div id="listLeft">
				<!-- 栏目分类 -->
				<div class="cateList">
					<li><h3>全部搜索分类</h3></li>
				
					<foreach from="$category" key="$k" value='$v'>
					<div class="cateCont">
						<li class="ctitle"><span class="puls"></span><a href="">{$v.category_name}</a></li>
						<div class="hidContent">
							<foreach from="$v['son']['category_name']" key="$kk" value="$vv">
							<li><a href="__ROOT__/index.php/index/list/index/cid/<?php echo $category[$k]['son']['cid'][$kk]?>">{$vv}</a></li>
							</foreach>
							
						</div>					
					</div>
					</foreach>
					<div class="cateCont">
						<li class="ctitle"><span class="subtract"></span><a href="">摄影摄像</a></li>
						<div class="hidContent">
							<li><a href="">佳能</a></li>
							<li><a href="">佳能</a></li>
						</div>					
					</div>
				
				</div>
			<!-- 栏目分类结束 -->
				<div class="hotSale">
					<div class="hottitle">热卖商品</div>
					<!-- 热门单品 单条开始 -->
					<foreach from="$goodsHot" key="$k" value="$v">
					<div class="conlist">
						<li class="saleimg"><a href="__ROOT__/index.php/index/content/index/gid/{$v.gid}"><img src="__ROOT__/upload/goods/middle/{$v.imgUrl}_thumb_400X400.jpg" width="160" height="160" alt="" /></a></li>
						<li class="saletitle"><a href="">{$v.goods_name}</a></li>
						<li class="money">￥{$v.goods_mall}.0</li>
					</div>
					</foreach>
					<!-- 热门单品 单条结束 -->
					
				</div>
		 </div>
			<!--主题左侧结束-->
			<!--主题右侧内容开始-->
			<div id="listmain">
				<div class="searchWord">
					<ul>
						<li class="searTitle">相关搜索：</li>
						<li><a href="">佳能600D</a></li>
						<li><a href="">佳能600D</a></li>
						<li><a href="">佳能600D</a></li>
					</ul>
				</div>
				<div class="choseList">
					<div class="choseTitle">
						<h1 class="searchKeyWord">佳能</h1>
						<div class="searAbout">
							搜索到<span>764</span>件相关商品
						</div>
					</div>
					<div class="condition">
						<?php if(isset($param)){ ?>
						<ul class="ulborder">
							<li class="tit">已选条件：</li>
							<foreach from="$tempAttr" key="$k" value="$v">
							
								<foreach from="$v['varlue']" key="$key" value="$val">
								<?php 
								$temp[$k] = $val['goods_attr_id'];
								?>
								<foreach from="$param" key="$t" value="$tv">
									<?php if($tv == $val['goods_attr_id']) {?>
								 <?php 
							 //副新值 不破坏变量
							 $temp = $param;
							 //默认不限时赋值0
							 $temp[$k] = 0;
							 
							  ?>
							<li class="checked" >
								<a href="{|U:'list/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}">
								<div class="conditions">
									{$val.goods_attr_value}
									<i class="close"></i>
									</a>
								</div>
							</li>
								<?php  }?>
								</foreach>
								</foreach>
							</foreach>
						
							
						</ul>
						<?php } ?>
						<foreach from="$tempAttr" key="$k" value="$v">
						<ul class="ulborder">
							<li class="tit">{$v.name}：</li>
							 <?php 
							 //副新值 不破坏变量
							 $temp = $param;
							 //默认不限时赋值0
							 $temp[$k] = 0;
							 
							  ?>
							 <li class="css/">
								<div class="chose"><a href="{|U:'list/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}">不限</a></div>
							</li>
							<foreach from="$v['varlue']" key="$key" value="$val">
								<?php 
								$temp[$k] = $val['goods_attr_id'];
								?>
							<li class="css/">
								<div class="chose"><a href="{|U:'List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}">{$val.goods_attr_value}</a></div>
							</li>
							</foreach>
							
						</ul>
						</foreach>
						
					</div>
				</div>
				<!-- 排序显示内容 -->
				<div id="sortBox">
					<div class="sortChose">
						<li  class="sortOn"><a href="">默认</a></li>
						<li><a href="">销量</a></li>
						<li><a href="">评价</a></li>
						<li><a href="">价格</a></li>
						<li class="sortPage"><a href=""><</a><a href="">1</a>/<a href="">2</a><a href="">></a></li>
					</div>
					<!-- 服务选择 -->
					<div id="choseSrot">
						<li  class="sortOn"><a href="">有货商品</a></li>
						<li><a href=""><span class=" boxchecked"></span>苏宁服务</a></li>
						<li><a href="" ><span class=" boxcheckedON"></span>直降</a></li>
						<li><a href=""><span class=" boxcheckedONchose"></span>大聚惠</a></li>
						<li><a href="">海外购</a></li>
						<li><a href="">抢购</a></li>
						<li><a href="">团购</a></li>
					</div>
					<!-- 图文内容开始 --> <input type="hidden" value="<?php echo $_SESSION['uid']; ?>" class="uid" />
					<foreach from="$listGodds" key="$k" value="$v">
						<div id="srotContent">
							<!-- 单条内容开始 -->
								<div class="oneContent">
									<div class="contentPosi">
									<div class="conIndexup">
										<div class="imgcontent">
											<a href="__ROOT__/index.php/index/content/index/gid/{$v.gid}"><img src="__ROOT__/upload/goods/middle/{$v.imgUrl}_thumb_400X400.jpg" alt="" width="200" height="200" /></a>
										</div>
										<div class="wordInfo">
											<a href=""><p class="infoTitle"><span></span>{$v.goods_name}</p></a>
											<li class="w200"><div class="fleft">¥<b>{$v.goods_mall}.00</b></div><div  class="fright">降</div></li>
											<li class="w200"><div class="goods">有货</div><div  class="comments">点击量：<a href="">{$v.goods_click}</a></div></li>
										</div>
										</div>
										<!-- 浮动hover块 -->
										<div class="showContent">
											<li>
											<div class="addcar" gid="{$v.gid}">
												加入购物车
											</div>
											<div class="contrast" gid="{$v.gid}">
												<span class="loading"></span><span class="success"></span>
												收藏
											</div>
											</li>

										</div>
										<!-- 浮动hover块 -->
									</div>
								</div>
							
							<!-- 单条内容结束 -->
					

						</div>
						</foreach>
					<!-- 图文内容结束 -->
				</div>
				<!-- 排序显示内容结束 -->
				<div id="Page">
					<ul class="pagelist" rows="1">
						{$page}
					<!--<span class='close'>上一页</span><strong class='selfpage'>1</strong><a href="">2</a><a href="">3</a><a href="" class='next'>下一页</a><span class='count'>[共4页] [4条记录]</span>-->
					</ul>
				</div>
			</div>
			<!--主体右侧内容结束-->
		
	</div>
	<!--列表内容页面主体结束-->
	<!-- 卖家精选开始 -->
	<div class="clear"></div>
	<div class="recommend">
		<div class="hottitle">热门精选</div>
						<!-- 卖家精选 单条开始 -->
						<foreach from="$goodsdesc" key="$k" value="$v">
					<div class="conlist">
						<li class="saleimg"><a href="__ROOT__/index.php/index/content/index/gid/{$v.gid}"><img src="__ROOT__/upload/goods/middle/{$v.imgUrl}_thumb_400X400.jpg" width="160" height="160" alt="" /></a></li>
						<li class="saletitle"><a href="__ROOT__/index.php/index/content/index/gid/{$v.gid}">{$v.goods_name}</a></li>
						<li class="money">￥{$v.goods_mall}</li>
					</div>
						</foreach>
					
	</div>
	<!-- 卖家精选结束 -->
</div>
<!--list页内容结束-->
				<div class="clear"></div>
				<!-- foot开始 -->
	<include file="__TEMPLATE__/bFooter"/>
				<!-- foot开始结束 -->
	</body>

</html>